Improve gtk_combo_box_get_active_text() docs
authorMatthias Clasen <mclasen@redhat.com>
Sat, 23 May 2009 05:20:39 +0000 (01:20 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 23 May 2009 05:20:39 +0000 (01:20 -0400)
Make it more explicit that the return value needs to be freed.
Fixes bug 583050.

gtk/gtkcombobox.c

index eb669a031afbac84ee2dad8faa5e0f81e7732bda..555418a19febfadacc8fce2fef9e5d21012f3db4 100644 (file)
@@ -5251,10 +5251,11 @@ gtk_combo_box_remove_text (GtkComboBox *combo_box,
  *
  * Returns the currently active string in @combo_box or %NULL if none
  * is selected.  Note that you can only use this function with combo
- * boxes constructed with gtk_combo_box_new_text() and with 
+ * boxes constructed with gtk_combo_box_new_text() and with
  * #GtkComboBoxEntry<!-- -->s.
  *
  * Returns: a newly allocated string containing the currently active text.
+ *     Must be freed with g_free().
  *
  * Since: 2.6
  */